Dueling arrow positioning fixes...
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 May 2011 01:33:12 +0000 (21:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 May 2011 01:33:12 +0000 (21:33 -0400)
Revert my fix, which conflicted with Benjamins fix for the same
issue.

gtk/gtkarrow.c

index 431fd9bc1181021ea3342d83849edc7fcc39e09a..b8744e70ba722ffa735065f4d47bce00c22a21bf 100644 (file)
@@ -345,8 +345,8 @@ gtk_arrow_draw (GtkWidget *widget,
         effective_arrow_type = GTK_ARROW_LEFT;
     }
 
-  x = xpad + ((width - 2 * xpad - extent) * xalign);
-  y = ypad + ((height - 2 * ypad - extent) * yalign);
+  x = xpad + ((width - extent) * xalign);
+  y = ypad + ((height - extent) * yalign);
 
   switch (effective_arrow_type)
     {